package com.ruoyi.StarStudio.Service;

import com.ruoyi.StarStudio.Domain.Annualoutput;

import java.util.List;

public interface AnnualOutputService {

    List<Annualoutput> getByZoneId(Integer zone_id);  //根据地块id查询年产量信息
    public Annualoutput getByOutputId(Integer annualoutput_Id);  //根据年产量id查询年产量信息
    public void add(Annualoutput annualoutput, Integer zone_id);  //根据地块id增加年产量信息及中间表数据
    public void update(Annualoutput annualoutput);  //修改年产量信息
    public void delete(Integer annualoutput_Id);  //根据年产量id删除年产量信息及中间表数据
    List<Annualoutput> getPageByZoneId(Integer zone_id);
    List<Annualoutput> getList(Annualoutput annualoutput);  //带搜索查询

    public String importAnnualOutput(List<Annualoutput> annualOutputList, boolean updateSupport);
}
